package com.duobaoyu.dby.supply.message.delay;

import com.duobaoyu.dby.supply.biz.service.queue.core.DistributionQueueJobConsumerProxy;
import com.duobaoyu.dby.supply.biz.service.queue.core.DistributionQueueJobConsumerWork;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author liyang
 * @version 1.0.0
 * @ClassName DistributionQueueConfiguration
 * @Description 队列配置
 * @createTime 11:56:00 2023/10/07
 */
@Configuration
public class DistributionQueueConfiguration {

	@Bean
	public DistributionQueueJobConsumerProxy distributionQueueJobConsumerProxy(DistributionQueueJobConsumerWork work) {
		return new DistributionQueueJobConsumerProxy(work);
	}
}
